package com.yfbao.horizon.inspection;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.scheduling.annotation.EnableScheduling;


/**
 * 巡检引擎应用程序主类
 * 这是整个Horizon巡检系统的启动入口
 */
@SpringBootApplication
@EnableScheduling
@EntityScan(basePackages = "com.yfbao.horizon.inspection.entity")
@EnableJpaRepositories(basePackages = "com.yfbao.horizon.inspection.repository")
public class HorizonInspectionApplication {

    /**
     * 应用程序主入口
     * @param args 命令行参数
     */
    public static void main(String[] args) {
        SpringApplication.run(HorizonInspectionApplication.class, args);
    }

}